import { baseRequest } from "@/utils/request";
const request = (url, ...arg) => baseRequest(`/popConfig/${url}`, ...arg);

export default {
  list(data) {
    return request("list", data, "get");
  },
  save(data) {
    return request("save", data);
  },
  delete(data) {
    return request("delete", data);
  },
};
